﻿<?php
$password = random(8);
$md5_password = md5(md5($password));
$username = $user['username'];
$db->query("UPDATE {$db->pre}member SET password='$md5_password' WHERE username='$username'");
?>
<table cellpadding="0" cellspacing="0" width="700"  style="font-family:Verdana,Arial;">
<tr>
<td style="border:#CCCCCC 1px solid;padding:20px 20px 20px 20px;line-height:180%;font-size:13px;">
<strong>Dear {$user[truename]}</strong>：<br/>
Your login username：{$user[username]}<br/>
Your login password：{$password} (For your account security, periodically revise)<br/>
<br/>
{$content}
</td>
</tr>
<tr>
<td style="background:#333333;padding:10px;line-height:180%;font-size:12px;color:#FFFFFF;">Please note: This e-mail system <a href="{DT_PATH}" target="_blank" style="color:#FFFFFF;">{$DT[sitename]}</a> Automatic transmission, do not reply directly.</td>
</tr>
</table>